<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Berkeley DB Library Version 11.2.5.1 Change Log</title>
    <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
    <link rel="start" href="index.html" title="Berkeley DB Installation and Build Guide" />
    <link rel="up" href="upgrade_51_toc.html" title="Chapter 14.  Upgrading Berkeley DB 11.2.5.0 applications to Berkeley DB 11.2.5.1" />
    <link rel="prev" href="upgrade_11gr2_51_mod_db4_unsupp.html" title="Mod_db4 Support Discontinued" />
    <link rel="next" href="upgrade_11gr2_toc.html" title="Chapter 15.  Upgrading Berkeley DB 4.8 applications to Berkeley DB 11.2.5.0" />
  </head>
  <body>
    <div xmlns="" class="navheader">
      <div class="libver">
        <p>Library Version 12.1.6.2</p>
      </div>
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">Berkeley DB Library Version 11.2.5.1 Change Log</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="upgrade_11gr2_51_mod_db4_unsupp.html">Prev</a> </td>
          <th width="60%" align="center">Chapter 14.  Upgrading Berkeley DB 11.2.5.0 applications to Berkeley DB 11.2.5.1 </th>
          <td width="20%" align="right"> <a accesskey="n" href="upgrade_11gr2_toc.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <div class="titlepage">
        <div>
          <div>
            <h2 class="title" style="clear: both"><a id="changelog_5_1"></a>Berkeley DB Library Version 11.2.5.1 Change Log</h2>
          </div>
        </div>
      </div>
      <div class="toc">
        <dl>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016661552">Database or Log File On-Disk Format Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016865936">New Features</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016781056">Database Environment Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016648352">Concurrent Data Store Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016644160">Access Method Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016633312">API Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016629264">SQL-Specific API Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016655200">Tcl-Specific API Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016620736">Java-Specific API Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016633872">C#-Specific API Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016611728">Direct Persistence Layer (DPL), Bindings and Collections API</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016602992">Replication Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016618528">Locking Subsystem Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016589168">Logging Subsystem Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016630528">Memory Pool Subsystem Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016600400">Mutex Subsystem Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016597360">Transaction Subsystem Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016662768">Test Suite Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016580208">Utility Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016586192">Configuration, Documentation, Sample Apps, Portability, and Build Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016618784">Example Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016574400">Miscellaneous Bug Fixes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016577760">Deprecated Features</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_5_1.html#idm140188016560864">Known Bugs</a>
            </span>
          </dt>
        </dl>
      </div>
      <p>
        This is the changelog for Berkeley DB
        11<span class="emphasis"><em>g</em></span> Release 2 (library
        version 11.2.5.1).
    </p>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016661552"></a>Database or Log File On-Disk Format Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
The database file format was unchanged in 11gR2 library version 11.2.5.1.
</p>
            </li>
            <li>
              <p>
The log file format was unchanged in 11gR2 library version 11.2.5.1.
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016865936"></a>New Features</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Added Performance event monitoring support for DTrace and SystemTap which can be enabled during configuration. Static probes have been defined where statistics values are updated, where mutex or transactional consistency lock waits occur, and where some other potentially lengthy operations may be initiated. [#15605]
</p>
            </li>
            <li>
              <p>
Added a new acknowledge policy - DB_REPMGR_ACKS_ALL_AVAILABLE. [#16762]
</p>
            </li>
            <li>
              <p>
Added transactional bulk loading optimization for non-nested transactions. [#17669]
</p>
            </li>
            <li>
              <p>
Added exclusive transaction support for the SQL API. [#17822]
</p>
            </li>
            <li>
              <p>
Added support for bulk update and delete in C# API. [#18011]
</p>
            </li>
            <li>
              <p>
Added a db_replicate utility. [#18326]
</p>
            </li>
            <li>
              <p>
Added an implementation of the Online Backup API. [#18500]
</p>
            </li>
            <li>
              <p>
Added support in Berkeley DB SQL for the vacuum and incremental vacuum pragmas [#18545]
</p>
            </li>
            <li>
              <p>
Added an option to automatically convert SQLite databases to Berkeley DB on opening. [#18531]
</p>
            </li>
            <li>
              <p>
Added BDBSQL_SHARE_PRIVATE, an option to enable inter-process sharing of DB_PRIVATE environments using multiple-reader. [#18533]
</p>
            </li>
            <li>
              <p>
Added database-level locking to optimize single-threaded operations and remove locking limitations for database load operations. [#18549]
</p>
            </li>
            <li>
              <p>
Added support for DB_INIT_REP, DB_PRIVATE and DB_THREAD in DB_CONFIG file.[#18555]
</p>
            </li>
            <li>
              <p>
Added support for the BDBSQL_DEFAULT_PAGE_SIZE pragma to override Berkeley DB's choice of page size depending on the filesystem. Use SQLITE_DEFAULT_PAGE_SIZE rather than a hard-coded default. [#18577]
</p>
            </li>
            <li>
              <p>
Added an extension that allows access to binary files stored outside of the database.  What is stored in the database is a pointer to the binary file. [#18635]
</p>
            </li>
            <li>
              <p>
Added .stat command to dbsql shell to print environment, table, and index statistics. [#18640]
</p>
            </li>
            <li>
              <p>
Added enhancements to reduce the size of indexes in the SQL API by allowing duplicates in the index database and moving the rowid from the index key into the index data. [#18653]
</p>
            </li>
            <li>
              <p>
Added a compile time flag BDBSQL_FILE_PER_TABLE that causes each table to be created in a separate file.  This flag replaces the BDBSQL_SPLIT_META_TABLE flag. [#18664]
</p>
            </li>
            <li>
              <p>
Added the handling of read only and read write open of the same database in BDB SQL [#18672]
</p>
            </li>
            <li>
              <p>
Added an encryption implementation to the SQL API [#18683]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016781056"></a>Database Environment Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed failchk behavior on QNX. [#17403]
</p>
            </li>
            <li>
              <p>
Fixed a bug that prevented the same process from connecting to the database after recovery is performed.   [#18535]
</p>
            </li>
            <li>
              <p>
Fixed a bug which would occur when recovery checkpoint was not written because the cache ran out of space attempting to flush the memory pool cache. The environment would be recovered and all database where made available, but some databases would incorrectly closed. This would cause a subsequent recovery to fail on its backward pass with the error "PANIC: No such file or directory". [#18590]
</p>
            </li>
            <li>
              <p>
Fixed a bug that could cause recovery to fail with the error "DB_LOGC-&gt;get: log record LSN %u/%u: checksum mismatch" if the last log file was nearly full and ended with a partially written log record which was smaller than a checkpoint record. It now erases the invalid partial record before switching to the new log file. [#18651]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016648352"></a>Concurrent Data Store Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
None
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016644160"></a>Access Method Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug such that segementation fault does not occur if DB-&gt;set_partition_dirs is called before DB-&gt;set_partition. [#18591]
</p>
            </li>
            <li>
              <p>
Fixed a bug such that the error "unknown path" does not  occur if you put duplicate records into a duplicated sorted HASH database with DB_OVERWRITE_DUP option. [#18607]
</p>
            </li>
            <li>
              <p>
Added the ability to specify that data should not be logged when removing pages from a database.  This can be used if the ability to recover the data is not required after the database has been removed. [#18666]
</p>
            </li>
            <li>
              <p>
Fixed a bug that caused an aborting transaction to fail if it aborted while a DB-&gt;compact of the same HASH database was compacting the dynamic hash table [#18695]
</p>
            </li>
            <li>
              <p>
Fixed a bug that could cause DB-&gt;compact to loop on a DB_RECNO database or a database with an multilevel unsorted off page duplicate tree. [#18722]
</p>
            </li>
            <li>
              <p>
Fixed a bug that could cause an illegal page type error when using a HASH database with MVCC and the HASH table was contracted and then extended. [#18785]
</p>
            </li>
            <li>
              <p>
Fixed locking bugs: [#18789]   The Db-&gt;compact method of BTREE with MVCC would return an unpinned page.   The RECNO option would fail to lock the next page when splitting a leaf page.
</p>
            </li>
            <li>
              <p>
Fixed a bug that could cause data to not be returned in a HASH database that was one of multiple databases in a file and was opened prior to running DB-&gt;compact method on that database in another thread of control [#18824]
</p>
            </li>
            <li>
              <p>
Fixed a bug where doing a bulk insert with secondaries could return an error incorrectly. [#18878]
</p>
            </li>
            <li>
              <p>
Fixed a bug that would return DB_NOTFOUND instead of DB_BUFFER_SMALL when the first item in a HASH database is larger than the user supplied buffer. [#18829]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016633312"></a>API Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed various items uncovered by extending DB_CONFIG support: [#18720]   - Added missing set_cache_max method, and fixed name of log_set_config (was set_log_config).   - Added new DB_ENV-&gt;repmgr_get_local_site method.   - Fixed a bug which could fail to allocate enough mutexes when specifying a maximum cache size.   - Fixed a bug that could allocate multiple caches when a small cache size was specified.
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016629264"></a>SQL-Specific API Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Allowed SQL applications to attach to the same database multiple times unless shared cache mode is explicitly requested. [#18340]
</p>
            </li>
            <li>
              <p>
Fixed a bug where auto-removal of log files after writing a checkpoint was not functioning correctly.  [#18413]
</p>
            </li>
            <li>
              <p>
Fixed a race between opening and closing SQL databases from multiple threads that could lead to the error "DB_REGISTER limits processes to one open DB_ENV handle per environment". [#18538]
</p>
            </li>
            <li>
              <p>
Optimized the SQL adapter for joins. Reduce the number of Berkeley DB operations in a join by caching the maximum key in the primary. [#18566]
</p>
            </li>
            <li>
              <p>
A SQLITE_LOCKED or SQLITE_BUSY error returned by a statement in an explict transaction will no longer invalidate the entire transaction, but just the statement that returned the error. [#18582]
</p>
            </li>
            <li>
              <p>
Changed how multiple connections to the same database are detected. Used a fileid so that different paths can be used without error. [#18646]
</p>
            </li>
            <li>
              <p>
Fixed a bug where the journal (environment) directory was being created prior to the actual environment. [#18656]
</p>
            </li>
            <li>
              <p>
Added a new PRAGMA to allow tuning of when checkpoints are run. [#18657]
</p>
            </li>
            <li>
              <p>
Fixed spurious "column &lt;x&gt; not unique" error messages.[#18667]
</p>
            </li>
            <li>
              <p>
Fixed a segmentation fault that could happen when memory could not be allocated for the index key in the SQL API.[#18783]
</p>
            </li>
            <li>
              <p>
Fixed a bug causing a segfault when releasing a savepoint that was already released. [#18784]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016655200"></a>Tcl-Specific API Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Changed to link tcl8.5 by default on Windows[#18244]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016620736"></a>Java-Specific API Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug where getAllowPopulate and getImmutableSecondaryKey method  always returned false for SecondaryConfig objects returned by SecondaryDatabase.getSecondaryConfig method.  [#16018]
</p>
            </li>
            <li>
              <p>
Fixed a bug which made it impossible to (re)set VerboseConfig.REPLICATION_SYSTEM on the Java API. [#17561]
</p>
            </li>
            <li>
              <p>
Fixed a bug where populating a SecondaryDatabase on open could lead to an OutOfMemoryException. [#18529]
</p>
            </li>
            <li>
              <p>
Fixed a bug such that segementation fault does not occur when putting records into callback-partitioned database. [#18596]
</p>
            </li>
            <li>
              <p>
Fixed a bug where DatabaseConfig.getUnsortedDuplicates method returned true when the datbase had been configured for sorted duplicates.  [#18612]
</p>
            </li>
            <li>
              <p>
Initialized DatabaseConfig.pageSize so that it can be queried. [#18691]
</p>
            </li>
            <li>
              <p>
Fixed a bug by opening a write cursor for Direct Persistent Layer(DPL) entity's put operation in the Concurrent Data Store product. [#18692]
</p>
            </li>
            <li>
              <p>
Synchronized Java persistence code and tests from Java Edition to Berkeley DB. [#18711]
</p>
            </li>
            <li>
              <p>
Introduced the EnvironmentConfig.setReplicationInMemory method as a way to configure in-memory internal replication files before opening the Environment handle on the Java API. [#18719]
</p>
            </li>
            <li>
              <p>
Fixed a bug in the bulk DatabaseEntry class, where it was possible to overflow the buffer. [#18850]
</p>
            </li>
            <li>
              <p>
Added LEASE_TIMEOUT field to the ReplicationTimeoutType class that enables configuring the amount of time a client grants its Master Lease to a master. [#18867]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016633872"></a>C#-Specific API Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a bug in BTree prefix comparison method such that there is no problem when the application needs to save a number larger than or equal to 2^31.  The BTree prefix comparison function now returns an unsigned int instead of a signed int. [#18481]
</p>
            </li>
            <li>
              <p>
Fixed a bug which caused the HasMultiple method to throw an exception when there were multiple databases in a single database file. [#18483]
</p>
            </li>
            <li>
              <p>
Fixed a bug to ensure the CachePriority is set for Database and Cursor objects.  [#18716]
</p>
            </li>
            <li>
              <p>
Fixed a bug that use leading to the error: "Transaction that opened the DB handle is still active" when applications used different transactional handles in the associate and open methods in a secondary database. [#18873]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016611728"></a>Direct Persistence Layer (DPL), Bindings and Collections API</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
All setter methods in the DPL |StoreConfig| and |EvolveConfig| now return |this| rather than having a |void| return type. This change requires that applications using the DPL be recompiled. [#17021]
</p>
            </li>
            <li>
              <p>
Improve performance of |StoredCollection.removeAll|. This method no longer iterates over all records in the stored collection. [#17727]
</p>
            </li>
            <li>
              <p>
Several new tuple formats and binding classes have been added in the |com.sleepycat.bind.tuple| package: 
</p>
              <div class="itemizedlist">
                <ul type="disc">
                  <li>
 Packed integer formats have been added that support default natural sorting. These are intended to replace the old unsorted packed integer formats. 
</li>
                  <li>
 Two new |BigDecimal| formats have been added. One format supports default natural sorting. The other format is unsorted, but has other advantages: trailing zeros after the decimal place are preserved, and a more compact, faster serialization format is used. See the |com.sleepycat.bind.tuple| package description for an overview of the new bindings and a comparative description of all tuple bindings. [#18379]
</li>
                </ul>
              </div>
            </li>
            <li>
              <p>
The following classes are now certified to be serializable. [#18738] 
</p>
              <div class="itemizedlist">
                <ul type="disc">
                  <li>
 com.sleepycat.persist.IndexNotAvailableException 
</li>
                  <li>
 com.sleepycat.persist.StoreExistsException 
</li>
                  <li>
 com.sleepycat.persist.StoreNotFoundException 
</li>
                  <li>
 com.sleepycat.persist.evolve.DeletedClassException 
</li>
                  <li>
 com.sleepycat.persist.evolve.IncompatibleClassException
</li>
                </ul>
              </div>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016602992"></a>Replication Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Replication Manager now uses the standard system implementation of getaddrinfo() when running on Windows, which means that it can support IPv6 addresses if support is present and configured in the operating system.  [#18263]
</p>
            </li>
            <li>
              <p>
Fixed a bug which caused a "full election" to fail if a majority of sites were not ready when the election started. [#18456]
</p>
            </li>
            <li>
              <p>
Fixed a bug which could occur when using bulk transfer with Replication Manager.  When closing a DB_ENV handle, any remaining bulk buffer contents are flushed, and Replication Manager could have tried to send the resulting messages even though its connections had already been closed, leading in rare circumstances to spurious EBADF error reports, or possibly even arbitrary memory corruption.  [#18469]
</p>
            </li>
            <li>
              <p>
Fixed a bug which caused Replication Manager to wait for acknowledgement from client, even if it had failed to send a log record, due to "queue limit exceeded".  Replication Manager now returns immediately, with a PERM_FAILED indication, to avoid a pointless delay to the commit() operation.  [#18682]
</p>
            </li>
            <li>
              <p>
Fixed a bug where changes made in one process to Replication Manager configuration values (such as ack policy or ack timeout) were not observed in other processes sharing the same database environment. [#18839]
</p>
            </li>
            <li>
              <p>
Fixed bugs that could prevent client synchronization from completing due to a failure to request missing log records. [#18849]
</p>
            </li>
            <li>
              <p>
Fixed a bug where a client that had rolled back transactions to synchronize with a new master, failed to invalidate existing database handles later used for cursor operations based on an explicitly provided transaction.  [#18862]
</p>
            </li>
            <li>
              <p>
Fixed a bug where Replication Manager called for an election after a DUPMASTER event, even when using Master Leases.  In such a case it now simply accepts the new (remote) master.  [#18864]
</p>
            </li>
            <li>
              <p>
Fixed a bug which would cause failure if client env attempted to perform sync-up recovery to a point in the log that happened to fall exactly on a log file boundary.  [#18907]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016618528"></a>Locking Subsystem Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Moved the wait mutex from the lock structure to the locker structure, reducing the number of mutexes required in the system. [#18685]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016589168"></a>Logging Subsystem Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
None.
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016630528"></a>Memory Pool Subsystem Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed a race condition that was causing the error:  "Unable to allocate space from the buffer cache".  The error can only be triggered when multiple memory pool regions are used and there is a periodic gathering and clearing of statistics. This also fixes a second bug where if you compile without statistics and explicitly set the memoru pool default pagesize, other environment handles to that environment would not see the correct memory pool default pagesize.  [#18386]
</p>
            </li>
            <li>
              <p>
Fixed a bug where the get_cachesize method and the mpool_stat method returned the initial cache size, even if the cache size had been changed. [#18706]
</p>
            </li>
            <li>
              <p>
Changed memory pool allocation so that the EIO error is returned rather than the ENOMEM error when the memory cannot be allocated because dirty pages cannot be written. [#18740]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016600400"></a>Mutex Subsystem Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed problems with the printed statistics for DB_MUTEX_SHARED latches. The DB_STAT_CLEAR flag (as specified by db_stat -Z) did not clear the counts of the number of times a shared latch either had to wait to get access or was able to get the latch without waiting. Also, the ownership state of a test-and-set latch (not a hybrid one) was always displayed as not owned, even when it was held. [#17585] [#18743]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016597360"></a>Transaction Subsystem Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Fixed bugs that could caused PANIC or DB_RUNRECOVERY errors when the synchronization of the transaction log failed.  [#18588]
</p>
            </li>
            <li>
              <p>
Fix javadoc to note the exception to the rule that a transaction handle may not be accessed after commit() operaton (getCommitToken() is allowed). [#18730]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016662768"></a>Test Suite Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
None.  [#18831]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016580208"></a>Utility Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Modified the db_printlog and db_dump -da so that they use the same formatting. The db_logprint utility now uses the message stream. Both db_dump -da and db_printlog accept a -D flag to indicate the numer of bytes of data items to display.  You can set this value when calling the  DB_ENV-&gt;set_data_len method or in the DB_CONFIG. [#18365]
</p>
            </li>
            <li>
              <p>
Fixed a bug that caused a segmentation violation when using the db_printlog utility. [#18694]
</p>
            </li>
            <li>
              <p>
Fixed a bug in db_hotbackup that would cause a trap if the -D flag is used and the DB_CONFIG file does not specify a log directory. [#18841]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016586192"></a>Configuration, Documentation, Sample Apps, Portability, and Build Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Added support and documentation for iPhone OS. [#18223]
</p>
            </li>
            <li>
              <p>
Fix a bug to make the configuration option --enable-debug work when CFLAGS is set. [#18432]
</p>
            </li>
            <li>
              <p>
Updated Visual Studio project files to enable ADO.NET support. [#18448]
</p>
            </li>
            <li>
              <p>
Enhanced the source tree layout making it easier to navigate. [#18492]
</p>
            </li>
            <li>
              <p>
Fixed the --enable-dbm argument to configure. [#18497]
</p>
            </li>
            <li>
              <p>
Fixed Visual Studio project files so that they can load into Visual Studio 2010. [#18505]
</p>
            </li>
            <li>
              <p>
Updated Windows CE build files to be 	consistent with desktop Windows build files. Added Windows Mobile 6.5.3 Professional as a target platform. [#18516]
</p>
            </li>
            <li>
              <p>
Added a fix so that an error message is displayed when the 'ar' utility is missing when configured. [#18619]
</p>
            </li>
            <li>
              <p>
Added tighter integration of JDBC on POSIX/autoconf by including an argument --enable-jdbc to configure. [#18621]
</p>
            </li>
            <li>
              <p>
Fix build conflicts in log verify with other configurations. [#18658]
</p>
            </li>
            <li>
              <p>
Upgraded Berkeley DB SQL to SQLite version 3.7.0 [#18857]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016618784"></a>Example Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Renamed examples/c/bench_001 to examples/c/ex_bulk.  [#18537]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016574400"></a>Miscellaneous Bug Fixes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
Provided a functionality on the Windows platform to choose a default page size based on the underlying file system sector size. [#16538]
</p>
            </li>
            <li>
              <p>
Changed DB_NOSYNC from an "operation" constant to a flag value. [#17775]
</p>
            </li>
            <li>
              <p>
Changed the default permissions for files in the release tree to allow write access. [#17974]
</p>
            </li>
            <li>
              <p>
Fixed a bug which caused database verification to hang when verifying a database in a Concurrent Data Store  environment that performs locking on an environment-wide basis (DB_CDB_ALLDB.)  [#18571]
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016577760"></a>Deprecated Features</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
[#18871] Removed the mod_db4 PHP/Apache wrapper. It only supported Apache 1.3 and has not been actively supported. Use php_db4 instead.
</p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idm140188016560864"></a>Known Bugs</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
None
</p>
            </li>
          </ol>
        </div>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="upgrade_11gr2_51_mod_db4_unsupp.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="upgrade_51_toc.html">Up</a>
          </td>
          <td width="40%" align="right"> <a accesskey="n" href="upgrade_11gr2_toc.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">Mod_db4 Support Discontinued </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> Chapter 15.  Upgrading Berkeley DB 4.8 applications to Berkeley DB 11.2.5.0 </td>
        </tr>
      </table>
    </div>
  </body>
</html>
